#ifndef PAYMENT_H
#define PAYMENT_H

#include <QMainWindow>
#include"mclient.h"

namespace Ui {
class payment;
}

class payment : public QMainWindow
{
    Q_OBJECT

public:
    explicit payment(QWidget *parent = 0);
    ~payment();
    Ui::payment *ui;

private slots:
    void on_back_product_clicked();
    void on_pay_button_clicked();

private:
    mClient *m_mclient;
    int sell_num;


signals:
    void new_buy(int sell_num); // 声明一个信号

};

#endif // PAYMENT_H
